package com.example.SpringBoot_demo.bean;

/**
 * Creat by wsn on 2021/7/19 9:45
 */
public class Tree {
    private String treeid;
    private String ParentId;
    private String menuname;
    private String menulevel;
    private String url;

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    private String pic;

    public Tree(){

    }

    public Tree(String treeid, String parentId, String menuname, String menulevel, String url,String pic) {
        this.treeid = treeid;
        ParentId = parentId;
        this.menuname = menuname;
        this.menulevel = menulevel;
        this.url = url;
        this.pic = pic;
    }

    public String getTreeid() {
        return treeid;
    }

    public void setTreeid(String treeid) {
        this.treeid = treeid;
    }

    public String getParentId() {
        return ParentId;
    }

    public void setParentId(String parentId) {
        ParentId = parentId;
    }

    public String getMenuname() {
        return menuname;
    }

    public void setMenuname(String menuname) {
        this.menuname = menuname;
    }

    public String getMenulevel() {
        return menulevel;
    }

    public void setMenulevel(String menulevel) {
        this.menulevel = menulevel;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "Tree{" +
                "treeid='" + treeid + '\'' +
                ", ParentId='" + ParentId + '\'' +
                ", menuname='" + menuname + '\'' +
                ", menulevel='" + menulevel + '\'' +
                ", url='" + url + '\'' +
                ", pic='" + pic + '\'' +
                '}';
    }
}
